package com.xja.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.xja.mapper.FocusInfoMapper;
import com.xja.entity.FocusInfo;
import com.xja.service.FocusInfoService;
@Service
public class FocusInfoServiceImpl implements FocusInfoService{

    @Resource
    private FocusInfoMapper focusInfoMapper;

    @Override
    public int deleteByPrimaryKey(Integer targetUid,Integer sourceUid) {
        return focusInfoMapper.deleteByPrimaryKey(targetUid,sourceUid);
    }

    @Override
    public int insert(FocusInfo record) {
        return focusInfoMapper.insert(record);
    }

    @Override
    public int insertSelective(FocusInfo record) {
        return focusInfoMapper.insertSelective(record);
    }

    @Override
    public FocusInfo selectByPrimaryKey(Integer targetUid,Integer sourceUid) {
        return focusInfoMapper.selectByPrimaryKey(targetUid,sourceUid);
    }

    @Override
    public int updateByPrimaryKeySelective(FocusInfo record) {
        return focusInfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(FocusInfo record) {
        return focusInfoMapper.updateByPrimaryKey(record);
    }

}
